package cn.com.nes.mybatis.agent.crm.mapper;

import cn.com.nes.mybatis.agent.crm.entity.OpportunityStaff;
import cn.com.nes.site.service.crm.opportunity.bo.OpportunityStaffBO;
import cn.com.nes.site.service.crm.opportunity.dto.OpportunityStaffDTO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface OpportunityStaffMapper extends BaseMapper<OpportunityStaff> {

    List<OpportunityStaffDTO> getOpportunityStaffDtoList(OpportunityStaffBO opportunityStaffBo);


    List<OpportunityStaffDTO> getStaffPage(@Param("page") Page<OpportunityStaffDTO> page, @Param("bo") OpportunityStaffBO bo);

}